import Vue from 'vue'
import App from './App.vue'
import router from '@/router/router'
import store from '@/store'
// import eruda from 'eruda'
// eruda.init()


/*引用静态资源*/
import '@/assets'
/*引入全局组件*/
import '@/components'


Vue.config.productionTip = false;

let sysTitle = process.env.NODE_ENV === 'development' ? process.env.VUE_APP_SYSTITLE : window.webConfig.webSystemTitle;
document.title = sysTitle;

//231116 yan ios系统获取微信配置签名无效，需要使用加载sdk时的url来请求签名。参考https://codeleading.com/article/12185491094/
if (typeof window.entryUrl === 'undefined' || window.entryUrl === '') {
  window.entryUrl = location.href
}
//231116 end
import './utils/dd.js'
new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
